#pragma once

#include "LPCSTRArray.h"

class CCSVArray : public CLPCSTRArray
{
public:
	CCSVArray(LPCSTR s);
	__forceinline LPCSTR get(intptr_t id) const { return id < count && str[id] && str[id][0] ? str[id] : nullptr; }
protected:
	LPCSTR find(LPCSTR p, LPCSTR s) override;
	LPCSTR find(LPCSTR p, char c) override;
};
